<!DOCTYPE html>
<html lang="en">
  <head>
    
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="viewport" content="width=1024px, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    
    <title>Spina</title>
    
    <!-- Stylesheets -->
    <link rel="stylesheet" href="../../css/reset.css" />
    <link rel="stylesheet" href="../../css/icons.css" />
    <link rel="stylesheet" href="../../css/formalize.css" />
    <link rel="stylesheet" href="../../css/checkboxes.css" />
    <link rel="stylesheet" href="../../css/sourcerer.css" />
    <link rel="stylesheet" href="../../css/jqueryui.css" />
    <link rel="stylesheet" href="../../css/tipsy.css" />
    <link rel="stylesheet" href="../../css/calendar.css" />
    <link rel="stylesheet" href="../../css/tags.css" />
    <link rel="stylesheet" href="../../css/fonts.css" />
    <link rel="stylesheet" href="../../css/main.css" />
    <link rel="stylesheet" media="all and (orientation:portrait)" href="../../css/portrait.css" />
    <link rel="apple-touch-icon" href="./apple-touch-icon-precomposed.png" />
    <link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" />
    
    <!--[if lt IE 9]>
    <script src="/js/html5shiv.js"></script>
    <![endif]-->
  <meta charset="UTF-8"></head>
  
  <body>

    <!-- Primary navigation -->
    <nav id="primary">
      <ul>
        <li >
          <a href="../../dashboard/index.html">
            <span class="glyph dashboard"></span>
            Dashboard
          </a>
        </li>
        <li class="active">
          <a href="../miscellaneous/index.html">
            <span class="glyph shuffle"></span>
            UI Elements
          </a>
        </li>
        <li >
          <a href="../../forms/forms/index.html">
            <span class="glyph pencil"></span>
            Forms
          </a>
        </li>
        <li >
          <a href="../../tables/tables/index.html">
            <span class="glyph listicon"></span>
            Tables
          </a>
        </li>
        <li >
          <a href="../../charts/linechart/index.html">
            <span class="glyph chart"></span>
            Charts
          </a>
        </li>
        <li class="bottom">
          <a href="../../login/index.html">
            <span class="glyph quit"></span>
            Log out
          </a>
        </li>
      </ul>
    </nav>
    
    <!-- Secondary navigation -->
    <nav id="secondary">
      <ul>
  <li ><a href="../miscellaneous/index.html">Miscellaneous</a></li>
  <li class="active"><a href="./index.html">Modal windows</a></li>
  <li ><a href="../buttons/index.html">Buttons &amp; Icons</a></li>
  <li ><a href="../calendar/index.html">Calendar</a></li>
  <li ><a href="../typography/index.html">Typography</a></li>
  <li ><a href="../notifications/index.html">Notifications</a></li>
</ul>
      
      <div id="notifications">
        <ul>
        </ul>
      </div>
    </nav>
    
    <section id="maincontainer">
      <div id="main">
      
      <div class="box">
  <div class="box-header">
    <h1>Modal windows are awesome</h1>
  </div>
  
  <div class="box-content">
    <p>Modal windows are awesome because they allow you to create a truly seamless experience when using your app. Especially when combined with PJAX, your application will perform almost like a native app.</p>
    
    <a href="#modal1" class="modal button">Launch modal nr 1.</a>
    <a href="#modal2" class="modal button">Modal with tabs</a>
  </div>
</div>

<div id="modal1" class="box">
  <div class="box-header">
    <h1>Modal number 1</h1>
  </div>
  
  <div class="box-content">
    <p>You can just use the usual syntax to create modal boxes.</p>
    <p>Just don't forget to add a close button so that the window can be closed.</p>
    <br />
    <code class="html"><a href="modal1" class="modal button">Launch modal nr 1.</a>
...
<div id="modal1" class="box">
  ...
  <div class="action_bar">
    <a href="#" class="close button blue">Close window</a>
  </div>
</div></code>
    
    <div class="action_bar">
      <a href="#" class="close button blue">Close window</a>
    </div>
  </div>
</div>

<div id="modal2" class="box">
  <div class="box-header">
    <h1>Modal with tabs</h1>
    
    <ul>
      <li class="active"><a href="#tab1">Tab</a></li>
      <li><a href="#tab2">Another tab</a></li>
      <li><a href="#tab3">Nice form</a></li>      
    </ul>
  </div>
  
  <div class="box-content">
    <div class="tab-content" id="tab1">
      <p>As I said, you can do pretty much anything in the modal space. Even tabbed boxes. :-)</p>
    </div>
    
    <div class="tab-content" id="tab2">
      <p>I often use tabs for forms. Check it out at the third tab.</p>
    </div>
    
    <div class="tab-content" id="tab3">
      <form>
        <div class="column-left">
          <p>
            <input type="text" id="textfield" name="textfield" placeholder="This is a textfield" />
          </p>
          
          <p>
            <textarea type="text" id="textarea" name="textarea" placeholder="This is a textfield"></textarea>
          </p>
        </div>
        
        <div class="column-right">
          <p>
            <input type="text" id="textfield" name="textfield" placeholder="This is another textfield" />
            <small>This could be small explanation of some sort.</small>
          </p>
        </div>
        
        <div class="clear"></div>
      </form>
    </div>
    
    <div class="action_bar">
      <a href="#" class="close button blue">Close window</a>
    </div>
  </div>
</div>
      
      </div>
    </section>
  
    <!-- JavaScript -->
    <script src="../../js/jquery.min.js"></script>
    <script src="../../js/jqueryui.min.js"></script>
    <script src="../../js/jquery.cookies.js"></script>
    <script src="../../js/jquery.pjax.js"></script>
    <script src="../../js/formalize.min.js"></script>
    <script src="../../js/jquery.metadata.js"></script>
    <script src="../../js/jquery.validate.js"></script>
    <script src="../../js/jquery.checkboxes.js"></script>
    <script src="../../js/jquery.selectskin.js"></script>
    <script src="../../js/jquery.fileinput.js"></script>
    <script src="../../js/jquery.datatables.js"></script>
    <script src="../../js/jquery.sourcerer.js"></script>
    <script src="../../js/jquery.tipsy.js"></script>
    <script src="../../js/jquery.calendar.js"></script>
    <script src="../../js/jquery.inputtags.min.js"></script>
    <script src="../../js/jquery.wymeditor.js"></script>
    <script src="../../js/jquery.livequery.js"></script>
    <script src="../../js/jquery.highcharts.js"></script>
    
    <!-- Just examples, can be removed in production -->
      <script src="../../js/chart_examples.js"></script>
      
    <script src="../../js/application.js"></script>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-11172759-15']);
      _gaq.push(['_trackPageview']);
    
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>
  </body>
</html>